package com.yu.mall.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel
public class WaybillInfo implements Serializable {

    @ApiModelProperty(value="发货公司",required = true)
    private String expressCompany;

    @ApiModelProperty(value="货运单号",required = true)
    private String expressCode;

    @ApiModelProperty(value="发货日期，格式为yyyy-MM-dd HH:mm:ss",required = true)
    private String deliverDate;

    @ApiModelProperty(value="运费",required = true)
    private BigDecimal freightMoney;

    @ApiModelProperty(value="商品编号",required = true)
    private String wareId;

    @ApiModelProperty(value="商品类型。10主商品，20赠品",required = true)
    private Integer wareType;

    @ApiModelProperty(value="商品数量",required = true)
    private Integer wareNum;
}
